Get current column?

Is there a way to get the current Column (that has focus)? Thanks in advance!
DOORS_USER - Wed Jun 16 23:21:30 EDT 2010

Re: Get current column?
DOORS_USER - Thu Jun 17 00:10:42 EDT 2010

Looks like this is how you get the current column:

getInPlaceColumnIndex(m)

Thanks!

Re: Get current column?
llandale - Thu Jun 17 11:45:51 EDT 2010

DOORS_USER - Thu Jun 17 00:10:42 EDT 2010
Looks like this is how you get the current column:

getInPlaceColumnIndex(m)

Thanks!

int ColNum = getInPlaceColumnIndex(current Module)

Seems to get the column only when you are currently in-place editing under that column.

int CurrCol = getSelectedCol(mod)
Column col = column(mod, ColNum)

Gets the currently selected column (column title background is gray) and converts to a Column handle

  • Louie

Re: Get current column?
DOORS_USER - Thu Jun 17 12:04:29 EDT 2010

Thanks Louie!

Re: Get current column?
SystemAdmin - Thu Feb 09 09:27:37 EST 2012

DOORS_USER - Thu Jun 17 12:04:29 EDT 2010
Thanks Louie!

How to get current column in layout DXL script itself?
I need to access column title string of a layout DXL column from within the same layout DXL script. For example: a layout DXL column displaying the title of the same layout DXL column such that it shouldn't fail even after changing its position (column number) in the view due to addition or deletion of the columns presiding it.

Re: Get current column?
Mathias Mamsch - Thu Feb 09 15:44:43 EST 2012

SystemAdmin - Thu Feb 09 09:27:37 EST 2012
How to get current column in layout DXL script itself?
I need to access column title string of a layout DXL column from within the same layout DXL script. For example: a layout DXL column displaying the title of the same layout DXL column such that it shouldn't fail even after changing its position (column number) in the view due to addition or deletion of the columns presiding it.

Since DOORS 9.1 you can use the Column currentColumn() perm. For earlier versions we discussed some techniques here:

https://www.ibm.com/developerworks/forums/thread.jspa?messageID=14455023&#14455023

Regards, Mathias

Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS